package com.cai.oamanager.service;

import com.cai.oamanager.entity.Depart;
import com.cai.oamanager.entity.People;
import com.cai.oamanager.entity.Student;
import com.cai.oamanager.entity.TT;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @version 1.0
 * @author：蔡松坡
 * @date：2021/1/16 22 : 49
 * @package：com.cai.oamanager.service
 */
public interface StudentService {

    Student login(String sid, String pwd);

    List<Student> getAllStudent(People people,Integer sid,Integer start,Integer size);

    Student getStudentById(Integer id);

    int getStudentCount(People people);

    void updateStudent(Student student);

    List<Depart> getAllDepartByStudentIdOfDomain(Integer sid);

    List<People> getPeopleByDepart(Integer departid);

    void editStudent(Student student);

    Integer getCountByDeid(Integer deid);

    void addStudent(Student student);
}
